<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title></title>
    <script src="javascripts/mui.min.js"></script>
    <link href="stylesheets/mui.min.css" rel="stylesheet"/>
	<style type="text/css">
		#search{
			float: right;
			color: #000000;
			font-size: 30px;
		}
		#Headportrait{
			width: 50px;
			height: 50px;
			border: solid #AAAAAA 1px;
			border-radius: 50%;
		}
		.mui-bar{
			height: 53px;
		}
		#slider{
			height: 200px;
		}
		#btn{
			width: 100%;
			color: #000000;
		}
		body{
			background-color: white;
		}
		#active{
			width: 100%;
			background-color:rgb(0,188,255) ;
		}
	</style>
</head>
<body>
	<header class="mui-bar mui-bar-nav">
		<img src="images/1.jpg" id="Headportrait">
		<h1 class="mui-title">首页</h1>
		<a href="/search"  id="search" class="mui-active mui-icon mui-icon-search"></a>
	</header>
	<div class="mui-content">
		<div id="slider" class="mui-slider" >
		  <div class="mui-slider-group mui-slider-loop">
			<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
			<div class="mui-slider-item mui-slider-item-duplicate">
			  <a href="#">
				<img src="images/304656.jpg">
			  </a>
			</div>
			<!-- 第一张 -->
			<div class="mui-slider-item">
			  <a href="#">
				<img src="images/beach.jpg">
			  </a>
			</div>
			<!-- 第二张 -->
			<div class="mui-slider-item">
			  <a href="#">
				<img src="images/bg3.jpg">
			  </a>
			</div>
			<!-- 第三张 -->
			<div class="mui-slider-item">
			  <a href="#">
				<img src="images/bg4.jpg">
			  </a>
			</div>
			<!-- 第四张 -->
			<div class="mui-slider-item">
			  <a href="#">
				<img src="images/304656.jpg">
			  </a>
			</div>
			<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
			<div class="mui-slider-item mui-slider-item-duplicate">
			  <a href="#">
				<img src="images/beach.jpg">
			  </a>
			</div>
		  </div>
		  <div class="mui-slider-indicator">
			<div class="mui-indicator mui-active"></div>
			<div class="mui-indicator"></div>
			<div class="mui-indicator"></div>
			<div class="mui-indicator"></div>
		  </div>
		</div>
		<div class="mui-row">
			<div class="mui-col-sm-4 mui-col-xs-4">
				<a href="/index"><button class="mui-btn" id="btn" >热门推荐</button></a>
			</div>
			<div class="mui-col-sm-4 mui-col-xs-4">
				<a href="/list2"><button class="mui-btn "id="btn" >话题</button></a>
			</div>
			<div class="mui-col-sm-4 mui-col-xs-4">
				<button class="mui-btn mui-active" id="active">同城爱好者</button>
			</div>
		</div>
		<div style="height: 470px;overflow: scroll">
			<%- include list3_1.html%>
		</div>
	</div>
	<nav class="mui-bar mui-bar-tab">
		<a class="mui-tab-item mui-active">
			<span class="mui-tab-label">首页</span>
		</a>
		<a class="mui-tab-item">
			<span class="mui-tab-label">课程</span>
		</a>
		<a class="mui-tab-item">
			<span class="mui-tab-label">运动</span>
		</a>
		<a class="mui-tab-item">
			<span class="mui-tab-label">商城</span>
		</a>
	</nav>
</body>
<script type="text/javascript" charset="utf-8">
		var gallery = mui('.mui-slider');
		gallery.slider({
		  interval:100//自动轮播周期，若为0则不自动播放，默认为0；
		});
    </script>
</html>
